//
//  UITextField+inputRule.h
//  SmartEstateCC
//
//  Created by 初唐科技 on 2018/7/17.
//  Copyright © 2018 pretang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (inputRule)

/**
 限制输入小数 保留2位

 @param infoView 提示的view
 @param range 范围
 @param string 输入的字符
 @param maxLength 最大长度
 @return 能否接收
 */
- (BOOL)numberAndPointShowInfoView:(UIView *)infoView
     shouldChangeCharactersInRange:(NSRange)range
                 replacementString:(NSString *)string
                         maxLength:(NSInteger)maxLength;
@end
